<template>
  <div>
    <el-divider>风险评价</el-divider>
    <el-form-item style="margin-left: 0">
      <el-row type="flex" :gutter="20" align="middle">
        <el-col :span="6">
          <el-form-item label="报告风险" label-width="100px">
            <el-select v-model="reportCommonObj.risk" style="width: 100%">
              <el-option
                v-for="item in risks"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              />
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="审核意见" label-width="100px">
            <el-input v-model="reportCommonObj.opinion" type="textarea" />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form-item>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'RiskAssessment',
  props: {
    reportCommonObj: {
      type: Object,
      required: true
    }
  },
  data() {
    return {
      risks: [{
        value: '是',
        label: '是'
      }, {
        value: '否',
        label: '否'
      }]
    }
  },
  computed: {
    ...mapGetters([
      'id'
    ])
  },
  methods: {

  }
}
</script>

<style scoped>

</style>
